package com.zjx.shop.product.feign;

import com.zjx.shop.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author 郑家莽
 */
@FeignClient("shop-ware")
public interface WareFeignService {
    @PostMapping("ware/waresku/hasStock")
    R getSkuHasStocks(@RequestBody List<Long> SkuIds);
}
